package com.yiwenup.struct._04_heap.base;

/**
 * 堆
 **/
public interface Heap<E> {
    int size();
    boolean isEmpty();
    void clear();
    void add(E element);
    E get();
    E remove();
    E replace(E element);
}
